<?php
if(isset($_POST['pesubmit'])){  
	$_p_info['order_objcategory'] = $_POST['category'];
	$_p_info['order_actcategory'] = $_POST['age'];  
	$_p_info['order_idnum'] = $_POST['idnum']; 
	$_p_info['order_bbname'] = $_POST['bbname']; 
	$_p_info['order_actname'] =$_POST['objname']; 
	$_p_info['order_contactname'] = $_POST['contactname']; 
	$_p_info['order_phone'] = $_POST['phone'];
	$_p_info['order_state'] = 0;
	$_p_info['order_uid'] = $_SESSION['user_id'];
	$_p_info['order_oid'] = $_POST['id'];			
	$_p_info['order_pro']=$_POST['pro'];
	$_p_info['order_city'] = $_POST['city'];
	if ($db->pe_insert('order', pe_dbhold($_p_info))) {
		pe_success('','index.php?mod=bmagain&id='.$_POST['id']);
	}
	else {
		pe_error('参数错误...');
	} 
}
?>